package mystudy.oop;
//枚举数据类型
public enum DvdStatus {
    INSTORE(code:0,message："在店"),
    OUTSTORE(code:1,message:"出售"),

    int code;//表示DVD的状态
    String message;
    DvdStatus(int code,String message)
    {
        this.code = code;
        this.message = message;
    }
}
